package com.qf.client;

import com.qf.pojo.BaseResp;
import com.qf.pojo.vo.Order;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient(serviceId = "bcy-order")
public interface OrderClient {
    //提交订单
    @RequestMapping("/order/submit")
    BaseResp submit(@RequestBody Order order);
}
